home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem Alert5.bat (some -ok files, no cha files)
- :Alert5
- echo.
- echo.
- echo ╔════════════════════════════════════════════════════════════╗
- echo ║ *** TEST-RUN by BB INSTALLATION ALERT *** ║
- echo ║ ║
- echo ║ TEST-RUN has previously been installed on this system, and ║
- echo ║ stored the Registry files on your hard disk on removal. ║
- echo ║ ║
- echo ║ The Test-Run files left behind are not complete, and would ║
- echo ║ cause Test-Run to fail. You are advised to delete the file ║
- echo ║ sets left behind when Test-Run was last uninstalled. Test- ║
- echo ║ Run installation will then proceed, and operation will be ║
- echo ║ normal. ║
- echo ╚════════════════════════════════════════════════════════════╝
- echo.
- echo.
- choice . Delete previous corrupt TEST-RUN files
- if errorlevel 2 goto :confirm
- if errorlevel 1 goto :cleanup
-
- :cleanup
- if exist c:\windows\tr~winin.-ok attrib c:\windows\tr~winin.-ok -r -s -h
- if exist c:\windows\tr~systm.-ok attrib c:\windows\tr~systm.-ok -r -s -h
- if exist c:\windows\tr~user.-ok attrib c:\windows\tr~user.-ok -r -s -h
- if exist c:\windows\tr~sysin.-ok attrib c:\windows\tr~sysin.-ok -r -s -h
- if exist c:\windows\tr~proin.-ok attrib c:\windows\tr~proin.-ok -r -s -h
- if exist c:\tr~autox.-ok attrib c:\tr~autox.-ok -r -s -h
- if exist c:\tr~confg.-ok attrib c:\tr~confg.-ok -r -s -h
- if exist c:\tr~msdos.-ok attrib c:\tr~msdos.-ok -r -s -h
-
- if exist c:\windows\tr~winin.-ok del c:\windows\tr~winin.-ok
- if exist c:\windows\tr~systm.-ok del c:\windows\tr~systm.-ok
- if exist c:\windows\tr~user.-ok del c:\windows\tr~user.-ok
- if exist c:\windows\tr~sysin.-ok del c:\windows\tr~sysin.-ok
- if exist c:\windows\tr~proin.-ok del c:\windows\tr~proin.-ok
- if exist c:\tr~autox.-ok del c:\tr~autox.-ok
- if exist c:\tr~confg.-ok del c:\tr~confg.-ok
- if exist c:\tr~msdos.-ok del c:\tr~msdos.-ok
-
- if exist c:\windows\test~run.bmp del c:\windows\test~run.bmp
-
- if exist c:\windows\command\tr-by-bb\folder\0n.lnk del c:\windows\command\tr-by-bb\folder\0n.lnk
- if exist c:\windows\command\tr-by-bb\folder\0ff.lnk del c:\windows\command\tr-by-bb\folder\0ff.lnk
-
- goto :welcome
-
- :confirm
- echo.
- echo The Test-Run files left behind from the previous installation
- echo of TEST-RUN should be erased. They could corrupt your system!
- echo You should delete them now.
- echo.
- choice . *LAST CHANCE* Delete previous TEST-RUN files
- if errorlevel 2 goto :welcome
- if errorlevel 1 cls
- goto :alert5
-
-
- :Welcome
- start /max Welcome.pif
- goto :exit
-
- :exit
- exit
-
-
-